how to find the real zeros of a function